Predefined Compound Expressions

Programmer Studio provides a number of predefined compound regular expressions for matching common string patterns. These greatly simplify the task of building a compound regular expression.

To match

Use

An alphanumeric character

\:a

An alphabetic character

\:c

A control character

\:n

A numeric character

\:d

A graphical character

\:g

A lowercase character

\:l

An uppercase character

\:u

A printable character

\:p

White-space character

\:b

Hexadecimal character

\:h

Any string enclosed in quotes, such as æsampleÆ or ôsampleö

\:q

Any string enclosed in single quotes, such as æsampleÆ

\:QS

Any string enclosed in double quotes, such as ôsampleö

\:QD

See Also